from flask import Flask

from HttpAPI import request_blueprint

# 创建Flask应用，用于监听HTTP请求
app = Flask(__name__)
# 绑定blueprint，收到请求时调用其中对应的方法
app.register_blueprint(request_blueprint)

# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    # 开启HTTP端口监听，接收HTTP请求（上传文件）
    app.run(host='0.0.0.0', port=13128, debug=True)

